<div class="sys-title"><h2>数据资源配置</h2></div>


<div class="sys-content">
    <div class="panel">
        <div class="panel-head">
            <div class="panel-title"><h3>数据源列表</h3></div>
            <div class="btnbar">
                <div class="field">
                    <button class="btn btn-minor">添加资源类型</button>
                    <ul id="getTable">

                    </ul>
                </div>
            </div><button class="fr btn btn-success" style="margin-right:10px;" id="synchronizing">同步</button>
        </div>
        <div class="panel-body" id="datasource">
            <div class="col-9" id="datasource9">


            </div>

            <div class="col-3" id="datasource3">


            </div>
        </div>
        <!--panel-body end-->
    </div>
</div>


<div class="dialog dialog-sm" id="add">
    <div class="dialog-win">
        <div class="dialog-head"><span id="addTitle">添加数据源</span><a class="close" href="javascript:void(0);"><i
                class="icon-close"></i></a></div>
        <div class="dialog-body">
            <div class="form-box">
                <div class="form-item">
                    <div class="form-title"><em class="fc-danger">*</em>数据源名称：</div>
                    <div class="form-content"><input id="dataName" class="input" type="text"></div>
                </div>
                <div class="form-item">
                    <div class="form-title"><em class="fc-danger">*</em>版本号：</div>
                    <div class="form-content"><input id="edition" class="input" type="text"></div>
                </div>
                <div class="form-item">
                    <div class="form-title"><em class="fc-danger">*</em>主节点IP：</div>
                    <div class="form-content"><input id="nodeIp" class="input" type="text"></div>
                </div>
                <div class="form-item">
                    <div class="form-title">资源等级：</div>
                    <div class="form-content"><select id="resourcesGrade">
                        <option value="5">高</option>
                        <option value="4">较高</option>
                        <option value="3">中</option>
                        <option value="2">一般</option>
                        <option value="1">关注</option>
                    </select></div>
                </div>
                <div class="form-item">
                    <div class="form-title">备注：</div>
                    <div class="form-content"><textarea id="addText" class="input"></textarea></div>
                </div>
            </div>
        </div>
        <div class="dialog-foot">
            <button class="btn" id="save">确认</button>
            <button id="cancel" class="btn btn-minor">取消</button>
        </div>
    </div>
</div>
<!--dialog end-->

<div class="dialog dialog-sm" id="edit">
    <div class="dialog-win">
        <div class="dialog-head"><span>修改审计对象</span><a class="close" href="javascript:void(0);"><i
                class="icon-close"></i></a></div>
        <div class="dialog-body">
            <ul class="inline-list col4" id="objInfo">

            </ul>
            <div class="form-box">
                <div class="form-item">
                    <div class="form-title"><em class="fc-danger">*</em>别名：</div>
                    <div class="form-content"><input class="input" id="objectName" type="text"></div>
                </div>
                <div class="form-item">
                    <div class="form-title">备注：</div>
                    <div class="form-content"><textarea id="objectText" class="input"></textarea></div>
                </div>
                <div class="form-item">
                    <div class="form-title">所属资源：</div>
                    <div class="form-content">
                        <ul id="dblist" class="ztree box "></ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="dialog-foot">
            <button class="btn" id="objectSave">确认</button>
            <button id="cancelT" class="btn btn-minor">取消</button>
        </div>
    </div>
</div>
<!--dialog end-->

<script>

</script>


<script src="./scripts/app/safe/dataRegulation/dataResourceAllocation.js"></script>